<?php
header("Pragma: public");
header("Expires: 0");
header("Accept-Ranges: bytes");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-Type: application/vnd.ms-word");
header('Content-Disposition: attachment; filename=spravki_is_fbs.doc');
header("Content-Transfer-Encoding: binary"); 
?>
<?php 
foreach ($abiturients as $abiturient):
?>
<body lang=RU style='tab-interval:35.4pt'>
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:204;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520092929 1073786111 9 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:"";
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:10.0pt;
	margin-left:0cm;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;
	mso-fareast-language:EN-US;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;
	mso-fareast-language:EN-US;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page WordSection1
	{size:595.3pt 841.9pt;
	margin:2.0cm 42.5pt 2.0cm 3.0cm;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.WordSection1
	{page:WordSection1;}
-->
</style>
<div class=WordSection1>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>СПРАВКА<o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>о
результатах единого государственного экзамена<o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>В
соответствии со свидетельством<o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>№
<?php echo $abiturient['egenumber']; ?> статус: Действительно<o:p></o:p></span></p>

<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
mso-border-bottom-alt:solid windowtext .5pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
text-align:center;line-height:normal;border:none;mso-border-bottom-alt:solid windowtext .5pt;
padding:0cm;mso-padding-alt:0cm 0cm 1.0pt 0cm'><span style='font-size:14.0pt;
font-family:"Times New Roman","serif"'><?php echo $abiturient['lastname'].' '.$abiturient['firstname'].' '.$abiturient['surname']; ?><o:p></o:p></span></p>

</div>

<p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
text-align:center;line-height:normal'><span style='font-family:"Times New Roman","serif"'>(Фамилия
Имя Отчество)<o:p></o:p></span></p>

<p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
text-align:center;line-height:normal'><span style='font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>Личное
дело № <u><?php echo $abiturient['id']; ?></u><o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>Паспорт
серия <?php echo $abiturient['passport_ser']; ?> номер <?php echo $abiturient['passport_num']; ?><o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>по
результатам сдачи единого государственного экзамена в <?php echo $abiturient['egeyear'];?> году обнаружи<span
class=GramE>л(</span>а) следующие знания по общеобразовательным предметам<o:p></o:p></span></p>

<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0
 style='border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;
 mso-yfti-tbllook:1184;mso-padding-alt:0cm 5.4pt 0cm 5.4pt'>
 <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
  <td width=319 style='width:239.25pt;border:solid windowtext 1.0pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'>Наименование<o:p></o:p></span></p>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'>общеобразовательных предметов<o:p></o:p></span></p>
  </td>
  <td width=319 style='width:239.3pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'>Баллы<o:p></o:p></span></p>
  </td>
 </tr>
 <?php if ($abiturient['russian']) {?>
 <tr style='mso-yfti-irow:1'>
  <td width=319 valign=top style='width:239.25pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal'><span style='font-size:14.0pt;font-family:"Times New Roman","serif"'>РУССКИЙ
  ЯЗЫК<o:p></o:p></span></p>
  </td>
  <td width=319 style='width:239.3pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'><?php echo $abiturient['russian'];?><o:p></o:p></span></p>
  </td>
 </tr>
<?php } ?> 
 <?php if ($abiturient['math']) {?>
 <tr style='mso-yfti-irow:1'>
  <td width=319 valign=top style='width:239.25pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal'><span style='font-size:14.0pt;font-family:"Times New Roman","serif"'>МАТЕМАТИКА<o:p></o:p></span></p>
  </td>
  <td width=319 style='width:239.3pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'><?php echo $abiturient['math'];?><o:p></o:p></span></p>
  </td>
 </tr>
<?php } ?> 
 <?php if ($abiturient['chemistry']) {?>
 <tr style='mso-yfti-irow:1'>
  <td width=319 valign=top style='width:239.25pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal'><span style='font-size:14.0pt;font-family:"Times New Roman","serif"'>ХИМИЯ<o:p></o:p></span></p>
  </td>
  <td width=319 style='width:239.3pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'><?php echo $abiturient['chemistry'];?><o:p></o:p></span></p>
  </td>
 </tr>
<?php } ?> 
 <?php if ($abiturient['biology']) {?>
 <tr style='mso-yfti-irow:1'>
  <td width=319 valign=top style='width:239.25pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal'><span style='font-size:14.0pt;font-family:"Times New Roman","serif"'>БИОЛОГИЯ<o:p></o:p></span></p>
  </td>
  <td width=319 style='width:239.3pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'><?php echo $abiturient['biology'];?><o:p></o:p></span></p>
  </td>
 </tr>
<?php } ?> 
 <?php if ($abiturient['history']) {?>
 <tr style='mso-yfti-irow:1'>
  <td width=319 valign=top style='width:239.25pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal'><span style='font-size:14.0pt;font-family:"Times New Roman","serif"'>ИСТОРИЯ<o:p></o:p></span></p>
  </td>
  <td width=319 style='width:239.3pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'><?php echo $abiturient['history'];?><o:p></o:p></span></p>
  </td>
 </tr>
<?php } ?> 
 <?php if ($abiturient['social']) {?>
 <tr style='mso-yfti-irow:1'>
  <td width=319 valign=top style='width:239.25pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
  normal'><span style='font-size:14.0pt;font-family:"Times New Roman","serif"'>ОБЩЕСТВОЗНАНИЕ<o:p></o:p></span></p>
  </td>
  <td width=319 style='width:239.3pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;
  text-align:center;line-height:normal'><span style='font-size:14.0pt;
  font-family:"Times New Roman","serif"'><?php echo $abiturient['social'];?><o:p></o:p></span></p>
  </td>
 </tr>
<?php } ?> 
</table>

<p class=MsoNormal><span style='font-size:14.0pt;line-height:115%;font-family:
"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='font-size:14.0pt;
line-height:115%;font-family:"Times New Roman","serif"'>Справка для личного
дела абитуриента сформирована из АИС &quot;Федеральная база свидетельств о
результатах ЕГЭ&quot; (Свидетельство о государственной регистрации базы данных
№ 2010620233), действующей на основании Приказа <span class=SpellE>Минобрнауки</span>
России от 15 апреля 2009 года №133 для образовательного учреждения: ГБОУ ВПО
КГМУ <span class=SpellE>Минздравсоцразвития</span> России<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:14.0pt;line-height:115%;font-family:
"Times New Roman","serif"'>Лицо, сформировавшее справку:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Секретарь <span
style='mso-tab-count:1'>         </span>&nbsp;&nbsp;&nbsp;_________________<span
style='mso-tab-count:1'>    </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Григорьян А.Ю.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-indent:
35.4pt'><span style='font-family:"Times New Roman","serif"'>(должность)<span
style='mso-tab-count:1'>   </span><span style='mso-tab-count:2'>                        </span>(подпись)<span
style='mso-tab-count:1'>        </span><span style='mso-tab-count:2'>                        </span>(Фамилия
И. О.)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:14.0pt;line-height:115%;font-family:
"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:14.0pt;line-height:115%;font-family:
"Times New Roman","serif"'>Ответственное лицо приемной комиссии:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt'><span
style='font-size:14.0pt;line-height:115%;font-family:"Times New Roman","serif"'>Отв. секретарь <span
style='mso-tab-count:1'>         </span>_________________<span
style='mso-tab-count:1'>    </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ткаченко П.В.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-indent:
35.4pt'><span style='font-family:"Times New Roman","serif"'>(должность)<span
style='mso-tab-count:1'>   </span><span style='mso-tab-count:2'>                        </span>(подпись)<span
style='mso-tab-count:1'>        </span><span style='mso-tab-count:2'>                        </span>(Фамилия
И. О.)<o:p></o:p></span></p>

<p class=MsoNormal><span style='mso-spacerun:yes'> </span><span
style='mso-tab-count:1'>               </span></p>

<p class=MsoNormal><span style='font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"'><span style='mso-spacerun:yes'> </span>Дата проверки
<span style='mso-spacerun:yes'> </span>«____»<span style='mso-spacerun:yes'> 
</span>____________<span style='mso-spacerun:yes'>  </span>______ <span
class=GramE>г</span>. <o:p></o:p></span></p>

</div>

</body>
<?php 
endforeach;
?>
<body lang=RU style='tab-interval:35.4pt'>
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:204;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520092929 1073786111 9 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:"";
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:10.0pt;
	margin-left:0cm;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;
	mso-fareast-language:EN-US;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;
	mso-fareast-language:EN-US;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page WordSection1
	{size:595.3pt 841.9pt;
	margin:2.0cm 42.5pt 2.0cm 3.0cm;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.WordSection1
	{page:WordSection1;}
-->
</style>
<div class=WordSection1>
<table border=1>
<?php foreach ($allerrors as $tmperror):?>
<tr>
<td>
	<?php 
		echo implode(' ', $tmperror);
	?>
</td>
</tr>
<?php endforeach;?>
</table>
</div>

</body>